home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2004 E…tra 100 Bedste Programmer / K-CD_2004_Ekstra_100_Gratis_Programmer.iso / Windows / X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ NAV 2000 on Boot.xpl < prev    next >
Encoding:
XSetup plugin  |  2003-11-20  |  1.5 KB  |  55 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="5"
  3. "COUNT"="1"
  4. "UIPATH 1"="Startup/Shutdown\Startup\Run on Next Boot"
  5. "NAME"="Run Norton AV 2000 Scan on Next Boot"
  6. "VERSION"="2.03"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Run AV 2001 Scan on Next Boot"
  9. "DESCRIPTION 1"="Often the Norton antivirus scan operation is slowed down considerably by other disk/program activity."
  10. "DESCRIPTION 2"="Checking the box will cause NAV 2000 to start on Bootup; if NAV 2001 scan is not desired on boot, it may be stopped after boot."
  11. "DESCRIPTION 3"="NOTE: This plugin is designed to run only on the next restart; whenever you want to scan with NAV 2001 on boot, re-apply the plugin.  This plug-in is for the GUI version of NAV 2000."
  12. "AUTHOR"="CptSiskoX"
  13. "CONTACTURL"="http://members.fortunecity.com/computingx/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16.  
  17.  
  18. sP="HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\"
  19. sV1="NAV 2000\"
  20. v="Title" 'Stg
  21. v1="Flags" 'Dwrd
  22. v2="Cmd" 'Stg
  23.  
  24.  
  25. Sub Plugin_Initialize 
  26. End Sub
  27.  
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.  
  34.   if ElementIndex=1 then
  35.      Call RegWriteValue(sP&v,"NAV Scan on Startup",1)
  36.      Call RegWriteValue(sP&v1,"3",2)
  37.    
  38.      if GetWinVer=1 or GetWinVer=3 or GetWinVer=5 then
  39.         Call RegWriteValue(sp&sv1&v2,"NAVW32 /L",1)
  40.      else
  41.         'NT/W2K
  42.         Call RegWriteValue(sp&sv1&v2,"NAVWNT /L",1)
  43.      end if
  44.  
  45.      Call Restart()
  46.   end if
  47. End Sub
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.  
  53.  
  54.  
  55.